<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../../print.css" type="text/css" media="print">
<meta content="GoogleImageSearch,be.boulevart.google.api.search.images.GoogleImageSearch,search" name="keywords">
<title>be.boulevart.google.api.search.images.GoogleImageSearch</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'GoogleImageSearch - 'Google AS3 API Library'';
				var baseRef = '../../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../../all-classes.html')" href="../../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../../all-classes.html')" href="../../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../../index-list.html')" href="../../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../../index.html?be/boulevart/google/api/search/images/GoogleImageSearch.html&amp;be/boulevart/google/api/search/images/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;GoogleImageSearch</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class GoogleImageSearch"); titleBar_setSubNav(false,false,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">be.boulevart.google.api.search.images</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class GoogleImageSearch</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">GoogleImageSearch <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  <p></p>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#search()">search</a>(searchString:String, startValue:int = 0, safeMode:String, size:String, colorization:String = "", imageColor:String = "", imageType:String = "", filetype:String = "", restrictToCreativeCommons:Boolean = false, lang:String = "", restrictToDomain:String = ""):void</div>
<div class="summaryTableDescription">
   Start search operation, when operation is done, will dispatch an GoogleSearchEvent.IMAGE_SEARCH_RESULT event with an array of GoogleImage-objects.</div>
</td><td class="summaryTableOwnerCol">GoogleImageSearch</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="search()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">search</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function search(searchString:String, startValue:int = 0, safeMode:String, size:String, colorization:String = "", imageColor:String = "", imageType:String = "", filetype:String = "", restrictToCreativeCommons:Boolean = false, lang:String = "", restrictToDomain:String = ""):void</code><p>
   Start search operation, when operation is done, will dispatch an GoogleSearchEvent.IMAGE_SEARCH_RESULT event with an array of GoogleImage-objects.
   Will deliver 8 results max, you can get more using the startValue param. (paging)
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">searchString</span>:String</code> &mdash; search string, what do you wanna find?
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">startValue</span>:int</code> (default = <code>0</code>)<code></code> &mdash; sets a start value for paging (fe. 9; delivers search results from result 9 up to 16)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">safeMode</span>:String</code> &mdash; This optional argument supplies the search safety level, you can find all values in GoogleImageSafeMode (package data.type)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">size</span>:String</code> &mdash; Restrict results to images of a certain size, you can find all values in GoogleImageSize (package data.type)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">colorization</span>:String</code> (default = "<code></code>")<code></code> &mdash; Restrict results to images of a certain colorization, you can find all values in GoogleImageColorization (package data.type)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">imageColor</span>:String</code> (default = "<code></code>")<code></code> &mdash; NEW This optional argument tells the image search system to filter the search to images of the specified color, you can find all allowed values in GoogleImageColor (package data.type)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">imageType</span>:String</code> (default = "<code></code>")<code></code> &mdash; Restrict results to images of a certain type, you can find all values in GoogleImageType (package data.type)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">filetype</span>:String</code> (default = "<code></code>")<code></code> &mdash; Restrict results to images with a certain extension, you can find all values in GoogleImageFiletype (package data.type)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">restrictToCreativeCommons</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Restrict results to CreativeCommons licensed images
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">lang</span>:String</code> (default = "<code></code>")<code></code> &mdash; set main language using language code
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">restrictToDomain</span>:String</code> (default = "<code></code>")<code></code> &mdash; NEW This optional argument tells the image search system to restrict the search to images within the specified domain <br/> Note: This restriction may restrict results to images found on pages AT the given URL and/or images WITH the given URL.
   </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
